package com.qtcm.nas.fyx.huiyuanxinxi.service.impl;

import com.qtcm.nas.fyx.chakanxiangqing.pojo.Chuzhi_card;
import com.qtcm.nas.fyx.chakanxiangqing.pojo.Package_Details;
import com.qtcm.nas.fyx.chakanxiangqing.pojo.YearCard;
import com.qtcm.nas.fyx.huiyuantianjia.pojo.Car_fyx;
import com.qtcm.nas.fyx.huiyuantianjia.pojo.MemberShip;
import com.qtcm.nas.fyx.huiyuantianjia.pojo.Orders_fyx;
import com.qtcm.nas.fyx.huiyuanxinxi.dao.IHyxxDao;
import com.qtcm.nas.fyx.huiyuanxinxi.pojo.Card_Cz;
import com.qtcm.nas.fyx.huiyuanxinxi.pojo.Card_nk;
import com.qtcm.nas.fyx.huiyuanxinxi.pojo.Points_Records;
import com.qtcm.nas.fyx.huiyuanxinxi.service.IHyxxService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("hyxxService")
public class HyxxService implements IHyxxService {
    @Autowired
    @Qualifier("hyxxDao")
    private IHyxxDao hyxxDao;

    @Override
    public List<Integer> findhyid(String cxtj) {
        return hyxxDao.findhyid(cxtj);
    }

    @Override
    public MemberShip findById(int hyid) {
        return hyxxDao.findById(hyid);
    }

    @Override
    public String finddp(int hyid) {
        return hyxxDao.finddp(hyid);
    }

    @Override
    public void updateUser( MemberShip memberShip) {
        hyxxDao.updateUser(memberShip);
    }

    @Override
    public void updatedianpu( MemberShip L_dianpu) {
        hyxxDao.updatedianpu(L_dianpu);
    }

    @Override
    public List<Car_fyx> findCar(int hyid) {
        return hyxxDao.findCar(hyid);
    }

    @Override
    public List<Card_Cz> findchuzhi(int hyid) {
        return hyxxDao.findchuzhi(hyid);
    }

    @Override
    public String findPhone(int hyid) {
        return hyxxDao.findPhone(hyid);
    }

    @Override
    public List<Card_nk> findnian(int hyid) {
        return hyxxDao.findnian(hyid);
    }

    @Override
    public List<Package_Details> findlb(int hyid) {
        return hyxxDao.findlb(hyid);
    }

    @Override
    public List<Orders_fyx> finddingd(int hyid) {
        return hyxxDao.finddingd(hyid);
    }

    @Override
    public String finddianp(int hyid) {
        return hyxxDao.finddianp(hyid);
    }

    @Override
    public List<Points_Records> findjif(int hyid) {
        return hyxxDao.findjif(hyid);
    }

    @Override
    public void addCar(Car_fyx car_fyx) {
        hyxxDao.addCar(car_fyx);
    }

    @Override
    public void editCar(Car_fyx car_fyx) {
        hyxxDao.editCar(car_fyx);
    }

    @Override
    public void delCar(String id) {
        hyxxDao.delCar(id);
    }

    @Override
    public Car_fyx findOneCar(String ipnumber) {
        return hyxxDao.findOneCar(ipnumber);
    }

    @Override
    public void addCzCard(Card_Cz czcard) {
        hyxxDao.addCzCard(czcard);
    }

    @Override
    public List<String> findxs(int id) {
        return hyxxDao.findxs(id);
    }

    @Override
    public void addNk(Card_nk card_nk) {
        hyxxDao.addNk(card_nk);
    }

    @Override
    public List<String> findIpnumber(int hyid) {
        return hyxxDao.findIpnumber(hyid);
    }

    @Override
    public int findMoney(String c_phone) {
        return hyxxDao.findMoney(c_phone);
    }

    @Override
    public void czmoney(Card_Cz card_cz) {
        hyxxDao.czmoney(card_cz);
    }

    @Override
    public void kpsj(Card_Cz card_cz) {
        hyxxDao.kpsj(card_cz);
    }

    @Override
    public List<Package_Details> findlbname() {
        return hyxxDao.findlbname();
    }

    @Override
    public void tjlb(Package_Details package_details) {
        hyxxDao.tjlb(package_details);
    }
}
